package nix.anim.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;

import nix.anim.common.pojo.NixResult;

/**
 * 登陆日志Controller
 */
@Controller
public class LogLoginController {

	@Autowired
	private nix.anim.service.LogLoginService logLoginService;
	
	@RequestMapping(value="/api/log/login/list", method=RequestMethod.GET)
	@ResponseBody
	public NixResult getLogLoginList(Integer page, Integer rows) {	
		// 调用服务
		NixResult result = logLoginService.getLogLoginList(page, rows);
		return result;
	}
}
